package com.ship.dispatch.service.fob;

import com.ship.common.core.web.domain.JsonResult;
import com.ship.common.business.service.BaseService;
import com.ship.dispatch.bean.fob.SpFobJsfhccbItems;

import java.util.List;

/**
 * @author yl
 * @title SpFobJsfhccbItemsService
 * @description
 * @create 2023/12/28 0028
 */
public interface SpFobJsfhccbItemsService extends BaseService<SpFobJsfhccbItems> {
    /**
     * 获取报关费用信息详情
     * @param costId
     * @return
     */
    JsonResult getBgCostInfo(Long costId,String processInstanceId,String key);

    /**
     * 保存报关信息
     * @param spFobJsfhccbItems
     * @return
     */
    JsonResult saveBgCostInfo(List<SpFobJsfhccbItems> spFobJsfhccbItems);

    /**
     * 结算明细信息
     * @param costId
     * @param processInstanceId
     * @param key
     * @return
     */
    JsonResult getInstructionsInfo(Long costId, String processInstanceId, String key);

    /**
     *
     * @param processInstanceId
     * @param type
     * @param unit
     * @return
     */
    JsonResult getDeliveryDate(String processInstanceId, Integer type, Integer unit);
}
